package com.extension.company.view.adapter;

import android.content.Context;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.view.ViewGroup;

import com.extension.company.admin.R;
import com.extension.company.model.entity.SalesDetailData;

import java.util.List;

public class SalesDetailAdapter extends BaseRecyclerAdapter<SalesDetailData, SalesDetailAdapter.Holder> {

    public SalesDetailAdapter(Context context, List<SalesDetailData> list) {
        super(context, list);
    }

    @Override
    public Holder onCreateViewHolder(ViewGroup parent, int viewType) {
        View view = mInflater.inflate(R.layout.salesdetail_item, parent, false);
        Holder holder = new Holder(view);
        return holder;
    }

    @Override
    public void onBindViewHolder(RecyclerView.ViewHolder viewHolder, int position) {
        super.onBindViewHolder(viewHolder, position);
    }

    class Holder extends RecyclerView.ViewHolder {

        public Holder(@NonNull View itemView) {
            super(itemView);
        }
    }
}
